package com.financing.platform.dao;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

import com.financing.platform.dto.FaUserAuthDTO;
import com.financing.platform.dto.FaUserCertDTO;

public interface IFaUserAuthDao extends IBaseDao {
	
	/**
	 * 
	* @Title: queryFaUserAuthList 
	* @Description: 查询fa详细证件信息
	* @param   faUserAuthDTO
	* @return List<FaUserAuthDTO>   
	* @throws
	 */
	public List<FaUserAuthDTO> queryFaUserAuthList(FaUserAuthDTO faUserAuthDTO);
	
	/**
	 * 
	* @Title: queryFaUserCertList 
	* @Description: 查询fa证书信息
	* @param   faUserCertDTO
	* @return List<FaUserCertDTO>   
	* @throws
	 */
	public List<FaUserCertDTO> queryFaUserCertList(FaUserCertDTO faUserCertDTO);
	
	/**
	 * @throws SQLException 
	 * 
	* @Title: updateFaUserAuth 
	* @Description: 更新fa证件状态
	* @param   faUserAuthDTO
	* @return int   
	* @throws
	 */
	public int updateFaUserAuth(FaUserAuthDTO faUserAuthDTO) throws SQLException;
	
	/**
	 * 
	* 修改用户认证信息
	* @param   faUserAuthDTO
	* @return int   
	* @throws
	 */
	public int updateFaUserAuthAll(Map<String, Object> map) throws SQLException;
	/**
	 * 添加用户认证信息
	 * @param faUserAuthDTO
	 * @return
	 * @throws SQLException
	 */
	public int addFaUserAuth(Map<String, Object> map) throws SQLException;
	
	/**
	 * 查询用户认证信息
	 * @param faUserAuthDTO
	 * @return
	 * @throws SQLException
	 */
	public FaUserAuthDTO queryFaUserAuth(FaUserAuthDTO faUserAuthDTO) throws SQLException;
	/**
	 * @throws SQLException 
	 * 
	* @Title: updateFaUserCert  
	* @Description: 更新FA证书状态
	* @param   faUserCertDTO
	* @return int   
	* @throws
	 */
	public int updateFaUserCert(FaUserCertDTO faUserCertDTO) throws SQLException;
}
